Sources:

Objective

After completing this reading, you will be able to:

Introduction

The rapid progress of artificial intelligence (AI) is making work smarter and more efficient. As the AI for business revolution gains momentum, organizations see ample opportunity to boost productivity and creativity.

Leveraging this potential, IBM Research has developed a new family of foundation models, which will be available on watsonx.ai, its studio for generative AI, foundation models, and machine learning. This family of generative AI models is collectively called "Granite," drawing an analogy to the sturdy and versatile construction material.

Granite foundation models are built on a decoder-only architecture that applies generative AI to language and code generation.

IBM Granite Models: Capabilities

Recognizing the fact that a single model cannot cater to the distinct demands of every business use case, the Granite models are developed in multiple sizes.

The Granite Base 13 Billion ( granite.13b.base ) V1.0 model has been trained using over 1 trillion tokens. This is the base model from which other variants were fine-tuned to target downstream tasks. Two variants that have been fine-tuned are granite-13b-instruct and granite-13b-chat , where 13b indicates 13 billion parameters. These variants are built on the Decoder-only architecture, which forms the foundation for large language models (LLMs) to predict the next word in a sequence.

The granite-13b-instructmodel

The granite-13b-instruct variant is an instruction-tuned Supervised Fine-Tuning (SFT) model, which was further tuned using a combination of the Flan Collection, 15k samples from Dolly, Anthropic's human preference data about helpfulness and harmlessness, Instructv3, and internal synthetic data sets designed explicitly for summarization and dialogue tasks (~700K samples).

Note : Supervised fine-tuning (SFT) is a machine learning technique that involves adapting a pre-trained large language model (LLM) to a specific downstream task like text classification, natural language inference, named entity recognition, and question-answering using labeled data. In SFT, the pre-trained LLM is fine-tuned on a dataset of input-output pairs, where the input is the prompt or instruction for the task, and the output is the desired response.

The granite-13b-chatmodel

The granite-13b-chat variant is a contrastive fine-tuning (CFT) model, which uses a new objective called unlikelihood training that penalizes unlikely generations by assigning a lower probability value.

Note: With contrastive fine-tuning, the LLM is trained on using two examples: one positive example and one negative example. The positive example is for the LLM to learn to identify, and the negative example is to learn to distinguish from the positive example. The LLM is then trained to learn representations of the two examples that are similar for the positive example and dissimilar for the negative example.

Let's look at the key advantages of these models:

IBM Granite Models: Use Cases

Recognizing the fact that a single model cannot cater to the distinct demands of every business use case, the Granite models, which are specially designed for businesses, are being developed in multiple sizes.

For example, enterprises can utilize these models for implementing retrieval augmented generation to search through their knowledge bases and produce personalized responses to customer queries. Additionally, these models can be harnessed for insight extraction and classification, helping identify factors like customer sentiments. Businesses can also utilize summarization to shorten extensive content, such as contracts or call transcripts, into concise summaries.

The Granite model series also facilitates various natural language processing (NLP) tasks like content generation and named entity recognition.

Summary

In this reading, you learned that the IBM Granite model series is developed in two variants, Granite.13b.instruct and Granite.13b.chat, built on a decoder-only architecture.

These models are enterprise-ready with strong governance measures in place.

Granite models use rigorous content moderation in line with IBM's focus on trustworthy AI.

Granite foundation models support diverse business use cases, such as retrieval augmented generation, insight extraction, and summarization.